package com.gasstion.dao;

import com.gasstion.entity.Goods;
import com.gasstion.entity.Userinfo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface GoodsDao {

    public List<Goods> query();

    public void save(Goods goods);

    public long getTotalCount(@Param("name") String name) ;

    public List<Goods> querySearch(@Param("name") String name, @Param("offset") int offset, @Param("limit") int limit) ;

    public void del(Integer[] ids) ;
}
